<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var arr=[{
            firstname:'王',
            lastname:['安石','纬','3','4']
        },{
            firstname:'李',
            lastname:['白','世民','3','4']
        },{
            firstname:'张',
            lastname:['白','世民','3','4']
        },{
            firstname:'赵',
            lastname:['白','世民','3','4']
        }]
        var result=prompt('请输入您的今生姓名：');
        console.log(result)
    </script>
</head>
<body>
    
</body>
</html>